Print 'START: Crear la tabla Facturas'
CREATE TABLE MARAVILLA_SQL.Facturas(
	intIdFactura	int	IDENTITY(1, 1)	NOT NULL,
	bigNro	numeric(18, 0) NOT NULL,
	datFecha	datetime NOT NULL,
	intIdProveedor int references maravilla_sql.proveedores(intIdProveedor),
	CONSTRAINT PK_Factura PRIMARY KEY CLUSTERED
	(
		IntIdFactura ASC
	)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
Print 'END: Crear la tabla Facturas'